package com.frank.stock4j.tusharepro.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDate;
import com.frank.stock4j.tusharepro.bean.NamechangeBean;

/**
* 描述：历史名称变更记录
* @author: codesmith
**/
@Data
@TableName("namechange")
public class NamechangeEntity implements NamechangeBean {
    
    /*
    * TS代码
    */
    @TableId
    @TableField("`ts_code`") protected String tsCode;

    @TableField("`name`") protected String name;
    /*
    * 开始日期
    */
    @TableId
    @TableField("`start_date`") protected LocalDate startDate;

    @TableField("`end_date`") protected LocalDate endDate;

    @TableField("`ann_date`") protected LocalDate annDate;

    @TableField("`change_reason`") protected String changeReason;
}